package com.dao.impl;

import com.dao.RedisDao;
import com.dao.RedisGeneratorDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository
public class RedisDaoImpl extends RedisGeneratorDao implements RedisDao {
     public void deleteKey(String key){
         redisTemplate.delete(key);
     }
}
